const _import = require('@/router/_import_' + process.env.NODE_ENV)
/* Layout */
import Layout from '@/views/layout/Layout'

const Database = [{
  path: '/database',
  component: Layout,
  redirect: '/database/index',
  name: 'database',
  meta: { title: '企业数据库', icon: 'zip' },
  children: [
    {
      path: 'index',
      component: _import('database/enterpriseFoshan/index'),
      name: 'enterpriseFoshan',
      meta: { title: '佛山进出口企业' }
    },
    {
      path: 'enterpriseTransport',
      component: _import('database/enterpriseTransport/index'),
      name: 'enterpriseTransport',
      meta: { title: '按运输方式进出口企业' }
    },
    {
      path: 'enterpriseTrade',
      component: _import('database/enterpriseTrade/index'),
      name: 'enterpriseTrade',
      meta: { title: '商品贸易国进出口企业' }
    }
  ]
}]

export default Database
